<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs For Class XaclComponent</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
						<script src="../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../media/images/plus.png";
				imgMinus.src = "../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class XaclComponent</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
		<p class="notes">
			Located in <a class="field" href="_controllers_components_xacl_php.html">/controllers/components/xacl.php</a> (line <span class="field"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a2">2</a></span>)
		</p>
		
				
		<pre>Object
   |
   --XaclComponent</pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$action_id" title="details" class="var-name">$action_id</a>
				</div>
								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$components" title="details" class="var-name">$components</a>
				</div>
								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$controller" title="details" class="var-name">$controller</a>
				</div>
								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$Tuser" title="details" class="var-name">$Tuser</a>
				</div>
								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$xaclData" title="details" class="var-name">$xaclData</a>
				</div>
							</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#check_login" title="details" class="method-name">check_login</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">Array</span>
										<a href="#currentUser" title="details" class="method-name">currentUser</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">Array</span>
										<a href="#getXaclData" title="details" class="method-name">getXaclData</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#initialize" title="details" class="method-name">initialize</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">&$controller</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#load_menu" title="details" class="method-name">load_menu</a>
											(<span class="var-type">object</span>&nbsp;<span class="var-name">&$controller</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#logout" title="details" class="method-name">logout</a>
										()
									</div>
								
				<div class="method-definition">
											<span class="method-result">Array</span>
										<a href="#mktreeDta" title="details" class="method-name">mktreeDta</a>
											(<span class="var-type">Array</span>&nbsp;<span class="var-name">$data</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#redirectSomewhere" title="details" class="method-name">redirectSomewhere</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$txt</span> = <span class="var-default">NULL</span>])
									</div>
								
				<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#startup" title="details" class="method-name">startup</a>
											(<span class="var-type">mixed</span>&nbsp;<span class="var-name">&$controller</span>)
									</div>
								
				<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#write_login" title="details" class="method-name">write_login</a>
											([<span class="var-type">string</span>&nbsp;<span class="var-name">$user</span> = <span class="var-default">NULL</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span> = <span class="var-default">NULL</span>])
									</div>
							</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$action_id" id="$action_id"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$action_id</span>
						(line <span class="line-number"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a8">8</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
		
		

</div>
<a name="var$components" id="$components"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$components</span>
			 = <span class="var-default">array('Session')</span>			(line <span class="line-number"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a5">5</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
		
		

</div>
<a name="var$controller" id="$controller"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$controller</span>
						(line <span class="line-number"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a7">7</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
		
		

</div>
<a name="var$Tuser" id="$Tuser"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$Tuser</span>
						(line <span class="line-number"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a6">6</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
		
		

</div>
<a name="var$xaclData" id="$xaclData"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$xaclData</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a9">9</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodcheck_login" id="check_login"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">check_login</span> (line <span class="line-number"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a67">67</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">登录检测</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			check_login
		</span>
				()
			</div>
	
		
		
	</div>
<a name="methodcurrentUser" id="currentUser"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">currentUser</span> (line <span class="line-number"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a95">95</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">得到当前用户信息</p>
	
	<div class="method-signature">
		<span class="method-result">Array</span>
		<span class="method-name">
			currentUser
		</span>
				()
			</div>
	
		
		
	</div>
<a name="methodgetXaclData" id="getXaclData"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getXaclData</span> (line <span class="line-number"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a161">161</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">载入用户菜单、权限信息</p>
	
	<div class="method-signature">
		<span class="method-result">Array</span>
		<span class="method-name">
			getXaclData
		</span>
				()
			</div>
	
		
		
	</div>
<a name="methodinitialize" id="initialize"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">initialize</span> (line <span class="line-number"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a13">13</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			initialize
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">&$controller</span>)
			</div>
	
		
		
	</div>
<a name="methodload_menu" id="load_menu"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">load_menu</span> (line <span class="line-number"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a119">119</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">载入菜单</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			load_menu
		</span>
					(<span class="var-type">object</span>&nbsp;<span class="var-name">&$controller</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$controller</span>			</li>
				</ul>
		
		
	</div>
<a name="methodlogout" id="logout"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">logout</span> (line <span class="line-number"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a109">109</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">登出</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			logout
		</span>
				()
			</div>
	
		
		
	</div>
<a name="methodmktreeDta" id="mktreeDta"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">mktreeDta</span> (line <span class="line-number"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a136">136</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">整理树菜单</p>
	
	<div class="method-signature">
		<span class="method-result">Array</span>
		<span class="method-name">
			mktreeDta
		</span>
					(<span class="var-type">Array</span>&nbsp;<span class="var-name">$data</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Array</span>
				<span class="var-name">$data</span>			</li>
				</ul>
		
		
	</div>
<a name="methodredirectSomewhere" id="redirectSomewhere"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">redirectSomewhere</span> (line <span class="line-number"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a52">52</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">通过 controller跳转</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			redirectSomewhere
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$value</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$txt</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$value</span><span class="var-description">: 地址</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$txt</span><span class="var-description">: flash提示信息</span>			</li>
				</ul>
		
		
	</div>
<a name="methodstartup" id="startup"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">startup</span> (line <span class="line-number"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a45">45</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			startup
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">&$controller</span>)
			</div>
	
		
		
	</div>
<a name="methodwrite_login" id="write_login"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">write_login</span> (line <span class="line-number"><a href="..//__filesource/fsource_default__controllerscomponentsxacl.php.html#a80">80</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">保存登录信息并跳转</p>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			write_login
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$user</span> = <span class="var-default">NULL</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$url</span> = <span class="var-default">NULL</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$user</span><span class="var-description">: 用户名</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$url</span><span class="var-description">: 跳转地址</span>			</li>
				</ul>
		
		
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Tue, 04 Aug 2009 07:38:02 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC3</a>
	</p>
	</div></body>
</html>